package org.lex.io.filesystem;

import javax.swing.filechooser.FileSystemView;
import javax.swing.filechooser.FileView;

public class FileSystem {
	private static final FileSystemView fileSystemView;
	private static final FileView localFileView;
	private static final FileView simpleFileView;
	static {
		fileSystemView = FileSystemView.getFileSystemView();
		localFileView = new LocalFileView();
		simpleFileView = new SimpleFileView();
	}

	private FileSystem() {
	}

	public static FileSystemView getFileSystemView() {
		return fileSystemView;
	}

	public static FileView getLocalFileView() {
		return localFileView;
	}

	public static FileView getSimpleFileView() {
		return simpleFileView;
	}
}
